home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 202 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: news.mel.aone.net.au!usenet
  2. From: clyde@hitech.com.au (Clyde Smith-Stubbs)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: help about structure
  5. Date: Wed, 03 Jan 1996 08:40:38 GMT
  6. Organization: HI-TECH Software
  7. Message-ID: <30ea40c1.1116181376@news.bne.aone.net.au>
  8. References: <4c3t9q$aob@chleuasme.francenet.fr> <4cc3r3$5kl@news.informix.com>
  9. Reply-To: clyde@hitech.com.au
  10. NNTP-Posting-Host: skyhawk.hitech.com.au
  11. X-Newsreader: Forte Agent .99c/16.141
  12.  
  13. On 2 Jan 1996 20:16:35 GMT, Robert Zook <lalaith@inf.net> wrote:
  14.  
  15. >Try this:
  16. >
  17. >struct
  18. >{
  19. >   nature: tokennature;
  20. >   union
  21. >   {
  22. >     i: int; 
  23. >     r: double;
  24. >    ... 
  25. >   } tk;
  26. >}token;
  27.  
  28. Don't try this at home folks - at least not with your common or garden
  29. C compiler. I don't know what language it is, but it sure isn't C!
  30.  
  31.  
  32.  Clyde Smith-Stubbs       | HI-TECH Software,       | Voice: +61 7 3300 5011
  33.  clyde@hitech.com.au      | P.O. Box 103, Alderley, | Fax:   +61 7 3300 5246
  34. http://www.hitech.com.au  | QLD, 4051, AUSTRALIA.   | BBS:   +61 7 3300 5235
  35. ----------------------------------------------------------------------------
  36. FREE! Download our shareware (FREE for noncommercial use) MS-DOS C Compiler!
  37.              Point your Web browser at http://www.hitech.com.au/
  38.